package com.imporven.sell.service.impl;

import com.imporven.sell.domain.ProductCategory;
import com.imporven.sell.repository.ProductCategoryRepository;
import com.imporven.sell.service.ProductCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author imporven
 * @version 1.0.0
 * @date 2018-7-8 21:56
 */
@Service
public class ProductCategoryServiceImp implements ProductCategoryService {

    @Autowired
    private ProductCategoryRepository productCategoryRepository;

    @Override
    public List<ProductCategory> findByCategoryNoIn(List<Integer> cateGoryNos) {
        return productCategoryRepository.findByCategoryNoIn(cateGoryNos);
    }
}
